#pragma once
#include "Dwarf.h"
using namespace std;

class CWorld
{
public:
    CWorld();
    ~CWorld();
    void CreateDwarf(DwarfType type);
    void SelectDwarf(int id);
    void Command(string word);
    void While(string arg, string command);
    bool IsValidDwarfId(int id);
    bool IsValidCondition(string str);
    bool IsValidCommand(string str);

private:
    vector<DwarfPtr> m_dwarves;
    vector<string> m_conditions;
    vector<string> m_commands;
    int m_currentDwarf;
};

